package start;

public class Magician implements MindReader {
    private String thoughts;
    private Integer integer;
    public Magician() {
        System.out.println("Magician create..");
    }

    @Override
    public void interceptThoughts(Integer integer,String thoughts) {
        System.out.println("Intercepting volunteer's thoughts");
        this.thoughts=thoughts;
        this.integer = integer;
    }

    @Override
    public String getThoughts() {
        return thoughts;
    }

    @Override
    public Integer getInteger() {
        return integer;
    }
}
